/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.customer.customerrelation.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

/**
 * 客户关系 Entity
 *
 * @author guagua
 * @date 2025-06-29 00:14:23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CustomerStudentRelation extends BaseEntity {
    /**
     * 客户关系状态
     */
    @ApiModelProperty(value = "状态")
    Integer status = 1;

    /**
     * 标签
     */
    @ApiModelProperty(value = "标签")
    String tags;
    /**
     * 背景色
     */
    String bgColor;

    /**
     * 客户ID
     */
    private String customerId;

    /**
     * 学员ID
     */
    private String studentId;

    /**
     * 关系
     */
    private String relationType;

    /**
     * 是否主要联系人(0否 1是)
     */
    private String isPrimary;

    /**
     * 来源渠道
     */
    private String sourceChannel;


    /**
     * 优先级
     */
    private String priority;

    /**
     * 备注说明
     */
    private String remark;

    /**
     * 父级主键集合
     */
    private String orgIds;


    // ========================================


    /**
     * 多租户字段
     */
    private String tenantId;

    /**
     * 逻辑删除字段
     */
    @TableLogic
    private Integer deleted;


}